package com.kevin.flyweight;

/**
 * 具体享元类
 *
 * @author kevin
 * @date 2025/8/21
 */
public class ConcreteFlyWeight implements FlyWeight{

    private String key;

    public ConcreteFlyWeight(String key) {
        this.key = key;
    }

    @Override
    public void operation(UnshareConcreteFlyWeight state) {
        System.out.println("非享元信息 = " + state);
    }
}
